<?php
/**
 * Created by PhpStorm.
 * User: 2016-08-23
 * Date: 2017/11/6
 * Time: 10:46
 */
$api_service_path = __DIR__ . "/../../../../api/";
ob_start();
require_once($api_service_path . "public/index.php");
ob_end_clean();
/**
 * 多账套查询接口
 * UTF-8
 * GET
 * /api/exportAccountBook
 */

print_r("……………………………… " . date('Y-m-d H:i:s') . " start running getDataQuery.php………………………………\n");
$result = JinDie::getItemDataQuery();
//foreach(json_decode($result) as $re){
//    Log::debug([$re]);
//}
if($result && !is_null($result) && $result != 'null'){
    JinDieFAccountItemInfo::storeDataQuery(json_decode($result));
}
print_r("……………………………… " . date('Y-m-d H:i:s') . " stop running getDataQuery.php………………………………\n");
